package com.ywfStudy.ywfliving.commodity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catalog2Vo {

    //父类Id
    private String catalog1Id;
    //三级分类的集合
    private List<Category3Vo> catalog3List;

    //本身的Id
    private String id;

    //本身name
    private String name;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Category3Vo {
        //父分类id
        private String catalog2Id;
        //三级分类本身信息
        private String id;
        private String name;

    };


}
